load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "ChatListUI",
    module_name = "ChatListUI",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
        "//submodules/AsyncDisplayKit:AsyncDisplayKit",
        "//submodules/Display:Display",
        "//submodules/Postbox:Postbox",
        "//submodules/TelegramCore:TelegramCore",
        "//submodules/TelegramPresentationData:TelegramPresentationData",
        "//submodules/TelegramUIPreferences:TelegramUIPreferences",
        "//submodules/AccountContext:AccountContext",
        "//submodules/TelegramBaseController:TelegramBaseController",
        "//submodules/OverlayStatusController:OverlayStatusController",
        "//submodules/AlertUI:AlertUI",
        "//submodules/PresentationDataUtils:PresentationDataUtils",
        "//submodules/UndoUI:UndoUI",
        "//submodules/TelegramNotices:TelegramNotices",
        "//submodules/SearchUI:SearchUI",
        "//submodules/MergeLists:MergeLists",
        "//submodules/ActivityIndicator:ActivityIndicator",
        "//submodules/SearchBarNode:SearchBarNode",
        "//submodules/ChatListSearchRecentPeersNode:ChatListSearchRecentPeersNode",
        "//submodules/ChatListSearchItemNode:ChatListSearchItemNode",
        "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
        "//submodules/TemporaryCachedPeerDataManager:TemporaryCachedPeerDataManager",
        "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
        "//submodules/PeerOnlineMarkerNode:PeerOnlineMarkerNode",
        "//submodules/LocalizedPeerData:LocalizedPeerData",
        "//submodules/ChatTitleActivityNode:ChatTitleActivityNode",
        "//submodules/DeleteChatPeerActionSheetItem:DeleteChatPeerActionSheetItem",
        "//submodules/LanguageSuggestionUI:LanguageSuggestionUI",
        "//submodules/ContactsPeerItem:ContactsPeerItem",
        "//submodules/ContactListUI:ContactListUI",
        "//submodules/PhotoResources:PhotoResources",
        "//submodules/AppBundle:AppBundle",
        "//submodules/ContextUI:ContextUI",
        "//submodules/PhoneNumberFormat:PhoneNumberFormat",
        "//submodules/TelegramIntents:TelegramIntents",
        "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
        "//submodules/AnimatedStickerNode:AnimatedStickerNode",
        "//submodules/TooltipUI:TooltipUI",
        "//submodules/ListMessageItem:ListMessageItem",
        "//submodules/ChatMessageInteractiveMediaBadge:ChatMessageInteractiveMediaBadge",
        "//submodules/MediaPlayer:UniversalMediaPlayer",
        "//submodules/GalleryData:GalleryData",
        "//submodules/GalleryUI:GalleryUI",
        "//submodules/InstantPageUI:InstantPageUI",
        "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
        "//submodules/ChatInterfaceState:ChatInterfaceState",
        "//submodules/ShareController:ShareController",
        "//submodules/GridMessageSelectionNode:GridMessageSelectionNode",
        "//submodules/ChatListFilterSettingsHeaderItem:ChatListFilterSettingsHeaderItem",
        "//submodules/TelegramStringFormatting:TelegramStringFormatting",
        "//submodules/TelegramCallsUI:TelegramCallsUI",
        "//submodules/StickerResources:StickerResources",
        "//submodules/TextFormat:TextFormat",
        "//submodules/FetchManagerImpl:FetchManagerImpl",
        "//submodules/ComponentFlow:ComponentFlow",
        "//submodules/Components/LottieAnimationComponent:LottieAnimationComponent",
        "//submodules/Components/ProgressIndicatorComponent:ProgressIndicatorComponent",
        "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
        "//submodules/PremiumUI:PremiumUI",
        "//submodules/TelegramUniversalVideoContent:TelegramUniversalVideoContent",
        "//submodules/Components/HierarchyTrackingLayer:HierarchyTrackingLayer",
        "//submodules/Components/ComponentDisplayAdapters:ComponentDisplayAdapters",
        "//submodules/TelegramUI/Components/AnimationCache:AnimationCache",
        "//submodules/TelegramUI/Components/MultiAnimationRenderer",
        "//submodules/TelegramUI/Components/TextNodeWithEntities",
        "//submodules/TelegramUI/Components/EmojiStatusComponent",
        "//submodules/TelegramUI/Components/EmojiStatusSelectionComponent",
        "//submodules/TelegramUI/Components/EntityKeyboard",
        "//submodules/TelegramUI/Components/ForumCreateTopicScreen:ForumCreateTopicScreen",
        "//submodules/TelegramUI/Components/ChatTitleView",
        "//submodules/TelegramUI/Components/ChatTimerScreen",
        "//submodules/TelegramUI/Components/NotificationPeerExceptionController",
        "//submodules/AnimationUI:AnimationUI",
        "//submodules/PeerInfoUI",
        "//submodules/TelegramUI/Components/ChatListHeaderComponent",
        "//submodules/TelegramUI/Components/ChatListTitleView",
        "//submodules/AvatarNode:AvatarNode",
        "//submodules/AvatarVideoNode:AvatarVideoNode",
        "//submodules/InviteLinksUI",
        "//submodules/TelegramUI/Components/ChatFolderLinkPreviewScreen",
        "//submodules/ItemListUI",
        "//submodules/QrCodeUI",
        "//submodules/TelegramUI/Components/ActionPanelComponent",
        "//submodules/TelegramUI/Components/Stories/StoryContainerScreen",
        "//submodules/TelegramUI/Components/Stories/StoryPeerListComponent",
        "//submodules/TelegramUI/Components/FullScreenEffectView",
        "//submodules/TelegramUI/Components/Stories/AvatarStoryIndicatorComponent",
        "//submodules/TelegramUI/Components/PeerInfo/PeerInfoStoryGridScreen",
        "//submodules/TelegramUI/Components/Settings/ArchiveInfoScreen",
        "//submodules/TelegramUI/Components/Settings/NewSessionInfoScreen",
        "//submodules/TelegramUI/Components/Settings/PeerNameColorItem",
        "//submodules/TelegramUI/Components/Settings/BirthdayPickerScreen",
        "//submodules/Components/MultilineTextComponent",
        "//submodules/Components/MultilineTextWithEntitiesComponent",
        "//submodules/TelegramUI/Components/Stories/StoryStealthModeSheetScreen",
        "//submodules/TelegramUI/Components/PeerManagement/OldChannelsController",
        "//submodules/TelegramUI/Components/TextFieldComponent",
        "//submodules/TelegramUI/Components/ChatEntityKeyboardInputNode",
        "//submodules/TelegramUI/Components/ListComposePollOptionComponent",
        "//submodules/ChatPresentationInterfaceState",
        "//submodules/ShimmerEffect:ShimmerEffect",
        "//submodules/TelegramUI/Components/LottieComponent",
        "//submodules/TelegramUI/Components/AvatarUploadToastScreen",
        "//submodules/TelegramUI/Components/Ads/AdsInfoScreen",
        "//submodules/TelegramUI/Components/Ads/AdsReportScreen",
        "//submodules/TelegramUI/Components/ButtonComponent",
        "//submodules/TelegramUI/Components/AnimatedTextComponent",
        "//submodules/TelegramUI/Components/EdgeEffect",
    ],
    visibility = [
        "//visibility:public",
    ],
)
